﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.Caching;

namespace PJ.Data.SalePurchase
{
    /// <summary>
    /// ShoppingCartItemPICProvider : Persist In Cache data provider
    /// </summary>
    /// <typeparam name="I">Object to provide interface type</typeparam>
    /// <typeparam name="C">Object to provide concrete class type</typeparam>
    public abstract class ShoppingCartItemPICProvider<I, C> : OrderedFragmentPICProvider<I, C>, IShoppingCartItemDataService<I>
        where C : BaseShoppingCartItemData, I, new()
        where I : class, IShoppingCartItemData
    {
        public ShoppingCartItemPICProvider(ICacheManager cache)
            : base(cache)
        {
        }

    }
}
